package cn.com.taurus.biz;

import cn.com.taurus.bean.FundFundTypeFundHoldWebBean;
import cn.com.taurus.bean.RedeemMessageBean;
import cn.com.taurus.bean.RedeemMessageWebBean;
import cn.com.taurus.bean.RedeemWebBean;
import cn.com.taurus.entity.RedeemMessage;
import cn.com.taurus.impl.RedeemMessageImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * @author zhy
 * @createTime 2021-6-3 20:49:18
 * @remark 赎回申请Biz层
 * @version 1.0
 */
@Service
public class RedeemMessageBiz{
    @Autowired
    RedeemMessageImpl redeemMessageImpl;
    
    public int redeemApplication(RedeemMessage redeemMessage) {
        return redeemMessageImpl.redeemApplication(redeemMessage);
    }

    
    public int redeemApplicationUpdate(RedeemMessage redeemMessage) {
        return redeemMessageImpl.redeemApplicationUpdate(redeemMessage);
    }

    
    public int redeemApplicationDelete(Integer rmId) {
        return redeemMessageImpl.redeemApplicationDelete(rmId);
    }

    
    public List<RedeemMessage> redeemApplicationSelectAll() {
        return redeemMessageImpl.redeemApplicationSelectAll();
    }

    
    public RedeemMessage redeemApplicationSelectOne(Integer rmId) {
        return redeemMessageImpl.redeemApplicationSelectOne(rmId);
    }

    public List<RedeemMessageBean> conditionSelectRedeemMessage(String caId, String fId, String applyRedeem, String applyTime, String time){
        return redeemMessageImpl.conditionSelectRedeemMessage(caId,fId,applyRedeem,applyTime,time);
    }

    public FundFundTypeFundHoldWebBean selectFundFundTypeFundHold(int fhId){
        return redeemMessageImpl.selectFundFundTypeFundHold(fhId);
    }

    public List<RedeemMessageWebBean> selectDealMessageCaId(Integer caId){
        return redeemMessageImpl.selectDealMessageCaId(caId);
    }

    public List<RedeemWebBean> selectRedeemRecordByCaId(Integer caId){
        return redeemMessageImpl.selectRedeemRecordByCaId(caId);
    }
}
